# 导包
import torch
print('=' * 200)
#TODO 1.随机均匀初始化
# 创建一个隐藏层
linear1 = torch.nn.Linear(5,3)
# 随机初始化
torch.nn.init.uniform_(linear1.weight)
print(linear1.weight)
print(linear1.bias)
print('=2.正态分布初始化'*100)

